import { _decorator, Component, Node, find } from "cc";
const { ccclass, property } = _decorator;

@ccclass("BattleFieldManager")
export class BattleFieldManager extends Component {
  @property
  localBattleField: Node = null;

  initialzeField() {
    const battleFieldPath = "Canvas/Container/Fields/BattleFieldSplash";
    this.localBattleField = find(battleFieldPath);
    this.localBattleField.active = false;
  }
}
